<script setup lang="ts">
import type { Status } from '@/types'

defineProps<{
  com: Status
}>()
</script>

<template>
  <div class="edit-pannel-container">
    <div v-for="(item, key) in com.status" :key="item.id"  class="mb-20">
      <component v-if="item.isShow" :is="item.editCom" :config-key="key" v-bind="item"></component>
    </div>
  </div>
</template>

<style scoped lang="scss">
.edit-pannel-container{
  padding: 10px;
  background: #fff;
}
</style>
